package ms.actuator.job.feign;

import ms.actuator.job.service.FeignFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 迈瑞 IOT 平台
 *
 * @Author ybc
 * @Date 2021/6/23 17:00
 */
@FeignClient(name = "mindray-feign",
//        url = "${request.outer.url.mindray}",
        url = "http://localhost:9100/act",
        fallbackFactory = FeignFallBack.class)
public interface MindrayFeign {

    @GetMapping("/getall")
    String getPrehospitalTasks();

}
